/*    */ package com.zimbra.cs.datasource.imap;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ final class FolderSyncState
/*    */ {
/*    */   private long lastFetchedUid;
/*    */   
/*    */ 
/*    */ 
/*    */ 
/*    */   private long lastUidNext;
/*    */   
/*    */ 
/*    */ 
/*    */   private int lastChangeId;
/*    */   
/*    */ 
/*    */ 
/*    */ 
/*    */   public long getLastFetchedUid()
/*    */   {
/* 25 */     return this.lastFetchedUid;
/*    */   }
/*    */   
/*    */   public long getLastUidNext() {
/* 29 */     return this.lastUidNext;
/*    */   }
/*    */   
/*    */   public int getLastChangeId() {
/* 33 */     return this.lastChangeId;
/*    */   }
/*    */   
/*    */   public void setLastFetchedUid(long uid) {
/* 37 */     this.lastFetchedUid = uid;
/*    */   }
/*    */   
/*    */   public void setLastUidNext(long lastUidNext) {
/* 41 */     this.lastUidNext = lastUidNext;
/*    */   }
/*    */   
/*    */   public void setLastChangeId(int lastChangeId) {
/* 45 */     this.lastChangeId = lastChangeId;
/*    */   }
/*    */   
/*    */   public void updateLastFetchedUid(long uid) {
/* 49 */     if (uid > this.lastFetchedUid) {
/* 50 */       this.lastFetchedUid = uid;
/*    */     }
/*    */   }
/*    */   
/*    */   public String toString() {
/* 55 */     return String.format("{lastFetchedUid=%d,lastUidNext=%d,lastChangeId=%d}", new Object[] { Long.valueOf(this.lastFetchedUid), Long.valueOf(this.lastUidNext), Integer.valueOf(this.lastChangeId) });
/*    */   }
/*    */ }


/* Location:              /home/mint/zimbrastore.jar!/com/zimbra/cs/datasource/imap/FolderSyncState.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       0.7.1
 */